package za.org.jcicada.genss.alarm.messages;

import za.org.jcicada.genss.alarm.AlarmURN;
import za.org.jcicada.genss.alarm.IAlarm;
import za.org.jcicada.genss.messages.BaseMessage;

/**
 * AlarmInform message class.
 * @author scross
 */
public class AlarmInform extends BaseMessage {

    /**
     * Class serialization version id.
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * The alarm URI.
     */
    private AlarmURN alarmURN;

    /**
     * The alarm details.
     */
    private IAlarm alarm;

    /**
     * Construct message
     * @param alarmURN the alarm URI.
     * @param alarm the alarm details.
     */
    public AlarmInform(AlarmURN alarmURN, IAlarm alarm) {
        this.alarmURN = alarmURN;
        this.alarm = alarm;
    }
    
    public AlarmURN getAlarmURN() {
        return alarmURN;
    }

    public IAlarm getAlarm() {
        return alarm;
    }

}
